﻿namespace Xc.DataAccess.Docs.MarkDowns
{
    public class Column
    {
        public Column(string text, Aligment aligment=Aligment.Left)
        {
            Text = text;
            Aligment = aligment;
        }
        public static implicit operator Column(string text)
        {
            return new Column(text);
        }
        /// <summary>
        /// 显示的文本
        /// </summary>
        public string Text { get; set; }
        /// <summary>
        /// 对齐方式
        /// </summary>
        public Aligment Aligment { get; set; }
    }
}
